//
//  BSSocketReceiver.h
//  BSProject
//
//  Created by nsm on 2019/8/2.
//  Copyright © 2019 beisheng. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

// 收到socket消息
UIKIT_EXTERN NSString *const kDidReceiveWebSocketDataNotification;

@interface BSSocketReceiver : NSObject

/**
 收到消息
 @param data 已经解密后的消息体
 */
- (void)didRecvData:(id)data;

/**
 !!调试专用,禁止正式项目调用
 @param data 已解密的socket消息
 */
- (void)dispatchData:(NSDictionary *)data;

@end

NS_ASSUME_NONNULL_END
